package com.courier.service;

import com.courier.entity.User;

import java.util.List;

public interface UserService {
    User findByUsername(String username);
    boolean updateStatus(Long id, Integer status);
    
    boolean save(User user);
    boolean updateById(User user);
    boolean removeById(Long id);
    User getById(Long id);
    List<User> list();
}